Global Index
HTML5 JS API Index > DOM Tutorials & Specs

ValidityState

Properties
boolean
badInput
The control is suffering from bad input.
boolean
customError
The control is suffering from a custom error.
boolean
patternMismatch
The control is suffering from a pattern mismatch.
boolean
rangeOverflow
The control is suffering from an overflow.
boolean
rangeUnderflow
The control is suffering from an underflow.
boolean
stepMismatch
The control is suffering from a step mismatch.
boolean
tooLong
The control is suffering from being too long.
boolean
tooShort
The control is suffering from being too short.
boolean
typeMismatch
The control is suffering from a type mismatch.
boolean
valid
None of the other conditions are true.
boolean
valueMissing
The control is suffering from being missing.
Referenced by
HTMLButtonElementvalidity
HTMLFieldSetElementvalidity
HTMLInputElementvalidity
HTMLKeygenElementvalidity
HTMLObjectElementvalidity
HTMLOutputElementvalidity
HTMLSelectElementvalidity
HTMLTextAreaElementvalidity